If you are running a 64-bit version of this sample project, it must be run on 64-bit web server or an error will be generated. Visual Studio's development web server is only available in 32-bit, so visual studio must be configured to use a 64-bit version of IIS, or alternatively, a 64-bit version of CassiniDev. CassiniDev is "a fully compatible drop-in replacement for the Visual Studio 2008/2010 development server". CassiniDev is available from http://cassinidev.codeplex.com/



Alternatively, the 32-bit version can be used for development.